import request from '@/utils/request'

// 校验身份
export function checkIdentity(query) {
  return request({
    url: '/business/rentCar/checkIdentity',
    method: 'get',
    params: query
  })
}

export function showCarImgs(query) {
  return request({
    url: '/business/rentCar/showCarImgs',
    method: 'get',
    params: query
  })
}


export function toRentCar(query) {
  return request({
    url: '/business/rentCar/toRentCar',
    method: 'get',
    params: query
  })
}

export function doRentCar(data) {
  return request({
    url: '/business/rentCar/doRentCar',
    method: 'post',
    data: data
  })
}
